package com.vcar.LDiceClient.module.templeModule
{
	/**
	 * Module例子
	 * @author Rices
	 * 定义模型基本结构
	 */
	
	import com.vcar.LDiceClient.config.MediatorName;
	import com.vcar.LDiceClient.dataproxy.ResponseMessage;

	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.mediator.Mediator;
	
	public class templeModuleMediator extends Mediator
	{
		/**
		 * 构造函数
		 * @param viewComponent
		 */
		public function templeModuleMediator(viewComponent:Object=null)
		{
			super(MediatorName.templeModuleMediator, viewComponent);
		}
		
		/**
		 * 获取Module实例 
		 * @return 
		 */
		public function get view():templeModule
		{
			return viewComponent as templeModule;
		}
		
		/**
		 * 定义兴趣事件列表 
		 * @return 
		 */
		override public function listNotificationInterests():Array
		{
			return [];
		}
		
		/**
		 * 兴趣事件处理函数
		 * @param notification
		 */
		override public function handleNotification(notification:INotification):void
		{
			var obj:ResponseMessage=notification.getBody() as ResponseMessage;
			switch (notification.getName())
			{

			}
		}
		
		/**
		 * 下面为功能代码 
		 */		

	}
}